<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>勒索病毒检查工具</title>

    <!-- Bootstrap Core CSS -->
    <link href="/css/bootstrap.min.css" rel="stylesheet">

    <link href="/css/site.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <link href="/css/wannacry.css" rel="stylesheet" type="text/css">

    <!-- jQuery -->
    <script src="/js/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/js/bootstrap.min.js"></script>

  </head>
  <body>
    <div class="well center-block">
      <div class="center-label">
        <label>WannaCry勒索病毒特别检查工具</label>
      </div>
      <span id="helpBlock" class="help-block">您的电脑IP是<code><%= reqip %></code>, 操作系统是<code> <%= useragent.os %></code></span>
      <button id="check-me" type="button" class="btn btn-danger btn-lg btn-block">检查我的电脑是否会被WannaCry勒索病毒感染</button>
      <button id="check-other" type="button" data-toggle="modal" class="btn btn-default btn-lg btn-block" data-target="#addrModel">检查其它电脑是否会被WannaCry勒索病毒感染</button>
      <button id="fix-help" type="button" class="btn btn-default btn-lg btn-block" >查看勒索病毒应急处理方案</button>

      <div class="right-help">
        <span id="helpBlock" class="help-block">本工具由<a href="https://www.oschina.net/p/falcon-dos">猎鹰网络安全小组</a>为您提供</span>
      </div>
    </div>

    <div class="modal fade" id="addrModel" tabindex="-1" role="dialog" aria-labelledby="addrModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel">请输入电脑主机地址</h5>
          </div>
          <div class="modal-body">
            <form>
              <div class="form-group">
                <input type="text" class="form-control" id="other-addr">
              </div>
            </form>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
            <button type="button" class="btn btn-primary" id="addrOK">确定</button>
          </div>
        </div>
      </div>
    </div>

    <% include loading %>
    <% include cry_detect_js %>
    <% include cry_modal %>
  </body>
</html>
